package com.fbli.service;

import com.fbli.pojo.Knowledge;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface KnowledgeService {
    //条件查询并分页
    PageInfo<Knowledge> selectPage(Knowledge knowledge, int pageNum, int pageSize);
    //根据id删除
    void deleteById(long[] ids);
    //根据id查知识
    Knowledge selectById(int id);
    //修改知识
    void update(Knowledge knowledge);
    //新增知识
    void insert(Knowledge knowledge);
}
